package artibella.media.video 
{
	import artibella.loaders.ILoaderAgent;
	
	/**
	 * ...
	 * @author pbordachar
	 */
	
	public class MoviePlugParameters
	{
		private var _server:String = null;
		private var _buffered:int = 2;
		private var _paused:Boolean = false;
		private var _looped:Boolean = false;
		private var _checked:Boolean = false;
		private var _function:Function = null;
		private var _agent:ILoaderAgent = null;
		
		
		public function MoviePlugParameters(){ }
		
		// - - -
		
		public function get server():String
		{
			return _server;
		}

		public function set server( s:String ):void
		{
			_server = s;
		}
		
		// - - -
	
		public function get buffered():int
		{
			return _buffered;
		}

		public function set buffered( d:int ):void
		{
			_buffered = d;
		}
		
		// - - -
		
		public function get paused():Boolean
		{
			return _paused;
		}
		
		public function set paused( b:Boolean ):void
		{
			_paused = b;
		}
		
		// - - -
		
		public function get looped():Boolean
		{
			return _looped;
		}
		
		public function set looped( b:Boolean ):void
		{
			_looped = b;
		}
		
		// - - -
		
		public function get checked():Boolean
		{
			return _checked;
		}
		
		public function set checked( b:Boolean ):void
		{
			_checked = b;
		}
		
		// - - -
		
		public function get onComplete():Function
		{
			return _function;
		}
		
		public function set onComplete( f:Function ):void
		{
			_function = f;
		}
		
		// - - -
		
		public function get agent():ILoaderAgent
		{
			return _agent;
		}
		
		public function set agent( a:ILoaderAgent ):void
		{
			_agent = a;
		}
	}
}
